﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HrEFCore
{
    //
    public class SGD
    {
        [Key]
		[DisplayName("编号")]
		[Required(ErrorMessage = "编号不能为空")]
		public short GrdId { get; set; }//编号
		[DisplayName("薪酬发放编号")]
		[Required(ErrorMessage = "薪酬发放编号不能为空")]
		public string SalaryGrantId { get; set; }//薪酬发放编号
		[DisplayName("档案编号")]
		[Required(ErrorMessage = "档案编号不能为空")]
		public string HumanId { get; set; }//档案编号
		[DisplayName("姓名")]
		[Required(ErrorMessage = "姓名不能为空")]
		public string HumanName { get; set; }//姓名
		[DisplayName("奖励金额")]
		[Required(ErrorMessage = "奖励金额不能为空")]
		public decimal BounsSum { get; set; }//奖励金额
		[DisplayName("销售绩效金额")]
		[Required(ErrorMessage = "销售绩效金额不能为空")]
		public decimal SaleSum { get; set; }//销售绩效金额
		[DisplayName("应扣金额")]
		[Required(ErrorMessage = "应扣金额不能为空")]
		public decimal  DeductSum { get; set; }//应扣金额
		[DisplayName("标准薪酬总额")]
		[Required(ErrorMessage = "标准薪酬总额不能为空")]
		public decimal SalaryStandardSum { get; set; }//标准薪酬总额
		[DisplayName("实发薪酬总额")]
		[Required(ErrorMessage = "实发薪酬总额不能为空")]
		public decimal  SalaryPaidSum { get; set; }//实发薪酬总额
	}
}
